package com.jcroke.hercules.examples;

public class DatumException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = -940487084011756341L;
	String message;
	String type;
	
	public DatumException(String message) {
		this(message, "");
	}
	
	public DatumException(String message, String type) {
		this.message = message;
		this.type = type;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
